// let data = {
//     count: 1000,
//     arr: [],
//     arr2: [],
//     loading: false
// }

// function reducer(state = data, action = { type: '', payload: null }) {
//     let newstate = JSON.parse(JSON.stringify(state));
//     if (action.type == 'ADD') {
//         newstate.count += action.payload;
//         console.log(newstate.count)
//         return newstate;
//     } else if (action.type == 'DELETE') {
//         return newstate;
//     } else if (action.type == 'EDIT') {
//         return newstate;
//     } else {
//         return state
//     }


// }

// export default reducer

import collReducer from "./reducers/collReducer";
import shopReducer from "./reducers/shopReducer";
import { combineReducers } from 'redux'

export default combineReducers({
    shopList: shopReducer,
    collList: collReducer
})
